<!--
/**
 * moOde audio player (C) 2014 Tim Curtis
 * http://moodeaudio.org
 *
 * This Program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3, or (at your option)
 * any later version.
 *
 * This Program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * 汉化：Androidnews
 */
-->
<div id="container">
<div class="container">
	<h1 class="ren-config">UPnP</h1>

    <form class="form-horizontal" action="" method="post">
    	<legend>设置
			<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
		</legend>

		<div class="config-horiz-rule">常规</div>

		<div class="control-group">
			<label class="control-label" for="upnpav">服务类型</label>
			<div class="controls">
				<select id="svctype" class="config-select-large" name="config[svctype]">
					$_select[svctype]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-svctype" href="#notarget"><i class="fa-solid fa-sharp fa-info-circle"></i></a>
				<span id="info-svctype" class="config-help-info">
					选择UPnP-A/V或OpenHome服务。
                </span>
			</div>

			<label class="control-label" for="checkcontentformat">检查内容</label>
			<div class="controls">
				<select id="checkcontentformat" class="config-select-large" name="config[checkcontentformat]">
					$_select[checkcontentformat]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-check-content-format" href="#notarget"><i class="fa-solid fa-sharp fa-info-circle"></i></a>
				<span id="info-check-content-format" class="config-help-info">
					检查输入格式是否受支持。如果控制点或媒体服务器发送包含错误元数据的好音频数据，请将此选项设定为“否”。<br>
                </span>
			</div>
		</div>

		<div class="config-horiz-rule">Qobuz音乐服务</div>
		<p class="sub-legend">
			在此输入订阅凭据将为Qobuz音乐服务创建一个代理媒体服务器。此媒体服务器将出现在UPnP控制点中。
		</p>

		<div class="control-group">
			<label class="control-label" for="qobuzuser">Qobuz账号</label>
			<div class="controls">
				<input class="config-input-large" type="text" id="qobuzuser" name="config[qobuzuser]" value="$_select[qobuzuser]">
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzuser" href="#notarget"><i class="fa-solid fa-sharp fa-info-circle"></i></a>
				<span id="info-qobuzuser" class="config-help-info">
					Qobuz订阅的用户id。
                </span>
			</div>

			<label class="control-label" for="qobuzuser">Qobuz密码</label>
			<div class="controls">
				<input class="config-input-large" type="password" id="qobuzpass" name="config[qobuzpass]" value="$_select[qobuzpass]">
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzpass" href="#notarget"><i class="fa-solid fa-sharp fa-info-circle"></i></a>
				<a class="show-hide-password" href="#notarget" data-id="qobuzpass"><i class="fa-regular fa-sharp fa-eye"></i></a>
				<span id="info-qobuzpass" class="config-help-info">
					Qobuz订阅的密码。
                </span>
			</div>

			<label class="control-label" for="qobuzformatid">Qobuz质量</label>
			<div class="controls">
				<select id="qobuzformatid" class="config-select-large" name="config[qobuzformatid]">
					$_select[qobuzformatid]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzformatid" href="#notarget"><i class="fa-solid fa-sharp fa-info-circle"></i></a>
				<span id="info-qobuzformatid" class="config-help-info">
					指定所需的流质量，或者如果订阅允许所有质量级别，则可以选择“可用的最高分辨率”。
                </span>
			</div>
		</div>
	</form>
</div>
</div>
